package main
import "fmt"

func main(){
	var data = [2][2]string{
		{"lilisi","lucy"},
		{"Jack","Tom"},
	}

	var data2 = [3][3]int{
		{1,2,3},
		{4,5,6},
		{7,8,9},
	}

	// 遍历
	for i:=0;i<2;i++{
		for j:=0;j<2;j++{
			fmt.Printf("%s\t",data[i][j])
		}
		fmt.Println()
	}

	for i:=0;i<3;i++{
		for j:=0;j<3;j++{
			fmt.Printf("%d\t",data2[i][j])
		}
		fmt.Println()
	}
}
/* Run:
lilisi	lucy	
Jack	Tom	
1	2	3	
4	5	6	
7	8	9	

*/